import { useParams } from 'umi';

interface ParamsType {
  id: string;
}

const Detail = () => {
  const params: ParamsType = useParams();

  return <div>这是Detail页面 - {params.id}</div>;
};

export default Detail;
